package com.csr.csrcheck.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Clinic {
    private int id;

    private int product_id;

    private String record_number;

    private String adaptation_disease;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date record_date;

    private String product_name;

    private String company_name;

    private Product product;

    private Company company;

    public Product getProduct() {
        return this.product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Company getCompany() {
        return this.company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public String getCompany_name() {
        return this.company_name;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public String getProduct_name() {
        return this.product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProduct_id() {
        return this.product_id;
    }

    public void setProduct_id(int product_id) {
        this.product_id = product_id;
    }

    public String getRecord_number() {
        return this.record_number;
    }

    public void setRecord_number(String record_number) {
        this.record_number = record_number;
    }

    public String getAdaptation_disease() {
        return this.adaptation_disease;
    }

    public void setAdaptation_disease(String adaptation_disease) {
        this.adaptation_disease = adaptation_disease;
    }

    public Date getRecord_date() {
        return this.record_date;
    }

    public void setRecord_date(Date record_date) {
        this.record_date = record_date;
    }
}
